package com.lezhi.socialgram.model.sys;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * Created by daizhen on 2017/3/30.
 */
public class UpdatePwdUser {

    @NotEmpty(message = "用户id不能为空")
    private Long userId;

    @NotEmpty(message = "原密码不能为空")
    private String oldPwd;

    @NotEmpty(message = "新密码不能为空")
    private String newPwd;

    private String table;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getOldPwd() {
        return oldPwd;
    }

    public void setOldPwd(String oldPwd) {
        this.oldPwd = oldPwd;
    }

    public String getNewPwd() {
        return newPwd;
    }

    public void setNewPwd(String newPwd) {
        this.newPwd = newPwd;
    }

    public String getTable() {
        return table;
    }

    public void setTable(String table) {
        this.table = table;
    }
}
